<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>SoundManager 2: Basic API Examples</title>

<script type="text/javascript" src="sound/script/soundmanager2.js"></script>
<script type="text/javascript">

soundManager.url = 'sound/soundmanager2.swf'; // override default SWF url
soundManager.debugMode = false;
soundManager.consoleOnly = false;

soundManager.onload = function() {
  // soundManager is initialised, ready to use. Create a sound for this demo page.
  soundManager.createSound({
    id: 'beep',
    url: 'sound/beep.mp3',
    autoLoad: true
  });  
}

</script>
</head>

<body>
 <button onclick="soundManager._writeDebug('<b>Demo 3</b>');soundManager.play('beep')">Do this</button>
</body>
</html>